import Vue from 'vue';
import Vuex from 'vuex';
import App, { State as AppState } from './modules/app';
import User, { State as UserState } from './modules/user';

Vue.use(Vuex);

export default new Vuex.Store({
  state: {
    app: App,
    user: User,
  },
  mutations: {

  },
  actions: {

  },
});

export interface State {
  app: AppState;
  user: UserState;
}
